<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>租房管理系统</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/common.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/main.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/libs/modernizr.min.js"></script>
<style>
a:hover {
	cursor: pointer;
}

@font-face {
	font-family: 'iconfont';
	src: url('${pageContext.request.contextPath}/icon/iconfont.eot');
	/* IE9*/
	src: url('${pageContext.request.contextPath}/icon/iconfont.eot?#iefix')
		format('embedded-opentype'), /* IE6-IE8 */
  url('${pageContext.request.contextPath}/icon/iconfont.woff')
		format('woff'), /* chrome、firefox */
  url('${pageContext.request.contextPath}/icon/iconfont.ttf')
		format('truetype'),
		/* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('${pageContext.request.contextPath}/icon/iconfont.svg#iconfont')
		format('svg'); /* iOS 4.1- */
}

.iconfont {
	font-family: "iconfont" !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: 0.2px;
	-moz-osx-font-smoothing: grayscale;
}
</style>
<script language=javascript>
	// 提交分页的查询的表单
	function to_page(url1) {
		$.ajax({
			url : url1,
			type : "post",
			async : false,
			success : function(data) {
				// 你的具体操作
				// alert(data);
				$("#inside").html(data);
				//alert("成功");
			},
			error : function() {
				//alert("失败，请稍后再试！");
			}
		});
	}
</script>
</head>
<body>
	<div class="topbar-wrap white">
		<div class="topbar-inner clearfix">
			<div class="topbar-logo-wrap clearfix">
				<h1 class="topbar-logo none">
					<a href="index.html" class="navbar-brand">后台管理</a>
				</h1>
				<ul class="navbar-list clearfix">
					<li><a class="" href="#">首页</a></li>
				</ul>
			</div>
			<div class="top-info-wrap">
				<ul class="top-info-list clearfix">
					<c:if test="${sessionScope.loginUser!=null}">
						<li>欢迎你：${sessionScope.loginUser.username}</li>
					</c:if>
					<li><a href="${pageContext.request.contextPath}/logout.action"><i
							class="iconfont">&#xeae2;</i></a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="container clearfix">
		<div class="sidebar-wrap">
			<!-- <div class="sidebar-title">
				<h1>菜单</h1>
			</div> -->
			<div class="sidebar-content">
				<ul class="sidebar-list">
					<li><a class="a"><i class="iconfont">&#xe8db;</i> 系统公告</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/findNoticeZK.action"><i
										class="iconfont">&#xe8da;</i> 公告列表</a></li>
							</ul>
						</div></li>
					<li><a class="a"><i class="iconfont">&#xe8b4;</i> 房源信息</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/houselist.action"><i
										class="iconfont">&#xe779;</i> 房源列表</a></li>
							</ul>
						</div></li>
					<li><a class="a"><i class="iconfont">&#xe974;</i> 租赁信息</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/zulist/myzulist.action"><i
										class="iconfont">&#xe95a;</i> 我的租赁</a></li>
								<li><a
									href="${pageContext.request.contextPath}/checkout/getmycheckout.action"><i
										class="iconfont">&#xe94c;</i> 已退租列表</a></li>

							</ul>
						</div></li>
					<li><a class="a"><i class="iconfont">&#xe974;</i> 我的申请</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/getmyapply.action"><i
										class="iconfont">&#xe95a;</i> 看房申请列表</a></li>
								<li><a
									href="${pageContext.request.contextPath}/applyout/getmyapplyout.action"><i
										class="iconfont">&#xe94c;</i> 退租申请列表</a></li>

							</ul>
						</div></li>
					<li><a class="a"><i class="iconfont">&#xe816;</i> 租金信息</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/paid/mytopaidlist.action"><i
										class="iconfont">&#xe81a;</i> 待缴租金</a></li>
								<li><a
									href="${pageContext.request.contextPath}/paid/findmypaid.action"><i
										class="iconfont">&#xe811;</i> 已缴租金</a></li>

							</ul>
						</div></li>
					<li><a class="a"><i class="iconfont">&#xe80c;</i> 报障模块</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/wrong/showaddwrong.action"><i
										class="iconfont">&#xe8fd;</i> 我要报障</a></li>
								<li><a
									href="${pageContext.request.contextPath}/wrong/mywronglist.action"><i
										class="iconfont">&#xe8e6;</i> 未处理报障</a></li>
								<li><a
									href="${pageContext.request.contextPath}/wrong/findmysolve.action"><i
										class="iconfont">&#xe8ef;</i> 已处理报障</a></li>
							</ul>
						</div></li>
					<li><a class="a"><i class="iconfont">&#xe95e;</i> 其他操作</a>
						<div class="p">
							<ul class="sub-menu">
								<li><a
									href="${pageContext.request.contextPath}/findhasuserlist.action"><i
										class="iconfont">&#xe96b;</i> 账户绑定</a></li>
							</ul>
						</div></li>
				</ul>
			</div>
		</div>
		<!--/sidebar-->
		<div class="main-wrap">
			<div class="crumb-wrap">
				<div class="crumb-list">
					<i class="icon-font">&#xe06b;</i><span>欢迎使用本系统！</span>
				</div>
			</div>

			<div class="result-wrap" id="inside">
				<jsp:include page="${mainPage==null?'../index.jsp':mainPage}"></jsp:include>
			</div>
		</div>

	</div>
	<!--/main-->
</body>
</html>